import Color.Blue;
import Color.Green;
import Color.IColor;
import Color.Red;
import Pen.SmallPen;
import Pen.MiddlePen;
import Pen.BigPen;
import Pen.AbstractPen;

public class Main {
    public static void main(String[] args) {
        IColor color = new Red();
        AbstractPen pen = new BigPen(color);
        System.out.println(pen.draw());
        color=new  Blue();
        pen=new SmallPen(color);
        System.out.println(pen.draw());
        color=new Green();
        pen=new MiddlePen(color);
        System.out.println(pen.draw());
    }
}